package cmo.neutech.day10.HomeWork.d1;

public class Players {
    public static int sum = 11;
    public static void Players(){
        System.out.println("创建了一个对象");
    }

    public static void main(String[] args) {
        while (true){
            for (int i = 0; i < sum; i++) {
                Players();
            }
            System.out.println("对不起，已经创建了11个对象。不能再创建对象了");
            break;
        }
    }
}
